/**
 * 本地缓存
 * @returns Object
 */
const status = "SECURITY_STATUS"
const storage = {
    get: (name) => {
        return localStorage.getItem(name??status)
    },
    set: (value, name) => {
        localStorage.setItem(name??status, value)
    },
    remove: (name) => {
        localStorage.removeItem(name??status)
    }
}

export default storage;